package com.link.base.base.sms.dao.mybatis.mapper;


import com.link.base.sms.model.SmsAccntLine;
import com.link.base.base.sms.model.SmsAccntLineDTO;
import com.link.core.basic.dao.mapper.BasicMapper;

import java.util.List;

/**
 * @Author: liulu
 * @Date:15:37 2018/11/5
 */
public interface SmsAccntLineMapper extends BasicMapper<SmsAccntLine> {

    /**
     * 是否存在消费者
     * @Author: liulu
     * @Date:14:31 2018/11/5
     * @param  record
     * @return: SmsAccntLine
     */
    SmsAccntLine existAccnt(SmsAccntLine record);

    /**
     * 导入客户覆盖已有客户
     * @Author: liulu
     * @Date:14:31 2018/11/5
     * @param  record
     */
    void importAccntLineUpdate(SmsAccntLine record);

    /**
     * 根据短信ID查询客户分页
     * @Author: liulu
     * @Date:14:32 2018/11/5
     * @param  account
     * @return: List SmsAccntLine
     * @throws Exception
     */
    public List<SmsAccntLine> queryBySendSmsIdExamplePage(SmsAccntLine account) throws Exception;

    /**
     * 根据条件筛选客户
     * @Author: liulu
     * @Date:14:32 2018/11/5
     * @return:  List SmsAccntLine
     * @throws Exception
     */
    public List<SmsAccntLine> queryByFiltrateExamplePage(SmsAccntLineDTO smsAccntLineDTO) throws Exception;

    /**
     * 根据条件微信粉丝筛选客户
     * @uthor: wangdawei
     * @Date:14:32 2019/02/18
     * @param  account
     * @return:  List SmsAccntLine
     * @throws Exception
     */
    public List<SmsAccntLine> filterWxAccntByExamplePage(SmsAccntLine account) throws Exception;


}
